<?php echo form_open('admin/login'); ?>
<table id="login_Infor">
    <tr>
        <td colspan="2" style="color: red"><?php if(isset ($erreur)) echo $erreur; ?></td>
    </tr>
    <tr>
        <td>Username</td>
        <td><input type="text" name="username" size="25" value="<?php echo set_value('username'); ?>"/></td>
        <td><?php echo form_error('username') ?><td>
    </tr>
    <tr>
        <td>pass</td>
        <td><input type="password" name="password" size="25" value="<?php echo set_value('password'); ?>"/></td>
        <td><?php echo form_error('password') ?><td>
    </tr>
    <tr>
        <td><input type="submit" name="submit" value="Login" /></td>
    </tr>
    
</table>
<?php echo form_close(); ?>